package com.yale.action;

import com.opensymphony.xwork2.ActionSupport;

/**
 * Created by yale on 2017/10/20.
 */
public class UserAction extends ActionSupport {
    @Override
    public String execute() throws Exception {
        System.out.println("LoginAction--之中");
        return super.execute();
    }
    public String login() throws Exception{
        System.err.println("UserAction来了");
        //ActionContext.getContext().getSession().put("CURRENT_USER","");
        return SUCCESS;

    }
}
